From: Felix Fietkau Date: Sat, 13 Feb 2016 22:23:32 +0000 (+0000) Subject: build: disable the use of -iremap for UML (#21851) X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f6b444dc4eeac047d2ffeab1731f5f3379160e8e;p=openwrt%2Fsvn-archive%2Farchive.git build: disable the use of -iremap for UML (#21851) Signed-off-by: Felix Fietkau SVN-Revision: 48718 --- diff --git a/rules.mk b/rules.mk index a9f3d9dd90..22807da7f0 100644 --- a/rules.mk +++ b/rules.mk @@ -118,7 +118,7 @@ else TOOLCHAIN_DIR_NAME:=toolchain-$(GNU_TARGET_NAME) endif -ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8)),) +ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),) iremap = -iremap $(1):$(2) endif